import static org.junit.Assert.*;

import java.util.ArrayList;

import model.BillDetail;
import model.Date;
import model.GetDate;
import model.Member;
import model.MemberLevel;
import model.SellBill;
import model.User;
import model.completedata.CompleteBill;

import org.junit.Test;


/**
 * 
 */

/**
 * @author yuqi
 *
 */
public class ConDatabaseTest {

	/**
	 * Test method for {@link database.ConDatabase#getUser(java.lang.String)}.
	 */
	@Test
	public void testGetUser() {
		//assertFalse(ConDatabase.payBill(1001, 200));
	}

	/**
	 * Test method for {@link database.ConDatabase#isUserNameUseable(java.lang.String)}.
	 */
	@Test
	public void testIsUserNameUseable() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link database.ConDatabase#addNewUser(model.User)}.
	 */
	@Test
	public void testAddNewUser() {
//		User user = new User("abcd","123","member");
//		assertTrue(ConDatabase.addNewUser(user));
	}

	/**
	 * Test method for {@link database.ConDatabase#addNewMenber(model.Member)}.
	 */
	@Test
	public void testAddNewMenber() {
//		Member m = new Member("user", "aaaa", "male", 1, "15985431546", "aaaa@gg.com", "Nanjing",GetDate.GetDate());
//		assertTrue(ConDatabase.addNewMenber(m));
	}

}
